package day03;

public class OperDemo3 {
    public static void main(String[] args) {
        int a=5,b=10,c=5;
        /*boolean b1= c==a;
        System.out.println(b1);//true
        System.out.println(a<b && a==c);//true
        System.out.println(b<a && c!=b);//false
        System.out.println(a>b && c>a);//false

        int score = 66;
        System.out.println(score>=0 && score<=100);//true  成绩在0-100之间
         */

        /*System.out.println(a>=b || c==a);//true
        System.out.println(a!=b || c>a);//true
        System.out.println(a>b || c<a);//false

        int score = 90;
        System.out.println(score<0 || score>100);//false

        boolean b2 = !false;
        System.out.println(b2);//true
        System.out.println(!(a>b ));//true
         */

        boolean b3 = a>b && c++>2;
        System.out.println(b3);
        System.out.println(c);

        boolean b4 = a>b || c++>2;
        System.out.println(b4);
        System.out.println(c);


    }
}
